hvm: vpmu: Add support for AMD Family 15h processors
authorJacob Shin <jacob.shin@amd.com>
Mon, 9 May 2011 08:54:46 +0000 (09:54 +0100)
committerJacob Shin <jacob.shin@amd.com>
Mon, 9 May 2011 08:54:46 +0000 (09:54 +0100)
commit89fdb92f1d574615e1b452ca487c4f19777dde67
tree27db46bec82e77559d2209ee82f5bd72219c96f5
parent1b70aaa4f45c0c66f6d7a7dfa29556f26f666fb4
hvm: vpmu: Add support for AMD Family 15h processors

AMD Family 15h CPU mirrors legacy K7 performance monitor counters to
a new location, and adds 2 new counters. This patch updates HVM VPMU
to take advantage of the new counters.

Signed-off-by: Jacob Shin <jacob.shin@amd.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/svm/vpmu.c
xen/arch/x86/hvm/vpmu.c